﻿body {
    font-family: "PingFang SC";
}

@media only screen and (max-width: 1200px) {
    .header {
        position: fixed;
        height: 80px;
        width: 100vw;
        left: 0;
        top: 0;
        background-color: #FFFFFF;
        z-index: 100;
    }

        .header .logo {
            float: left;
            margin: 10px 0 0 22px;
        }

            .header .logo img {
                width: 220px;
            }
}

@media only screen and (min-width: 1200px) {
    .header {
        height: 110px;
        background-color: #FFFFFF;
    }

        .header .logo {
            float: left;
            margin-left: 6vw;
            height: 110px;
            /*line-height: 110px;*/
        }

            .header .logo img {
                width: 300px;
                margin-top: 12px;
            }
}

.header .menu {
    position: relative;
    float: right;
    margin-right: 5vw;
    display: flex;
    justify-content: space-around;
    width: calc(88vw - 300px);
    max-width: 750px;
    height: 110px;
    line-height: 110px;
    font-size: 18px;
}

    .header .menu .active {
        border-bottom: 3px solid #1F55B1;
    }

        .header .menu .active a {
            color: #1F55B1;
        }

    .header .menu li {
        height: 70px;
        line-height: 70px;
        margin-top: 10px;
    }

        .header .menu li:hover {
            border-bottom: 3px solid #1F55B1;
        }


        /**************************************下拉导航栏*****************************************/

        .header .menu li div {
            display: none;
            -webkit-transition: height 200ms ease-in;
            -moz-transition: height 200ms ease-in;
            -o-transition: height 200ms ease-in;
            transition: height 200ms ease-in;
        }

        .header .menu li:hover div {
            display: block;
            position: absolute;
            z-index: 1;
        }

        .header .menu li div dl dd:hover {
            background-color: #2B56B0;
        }

            .header .menu li div dl dd:hover a {
                color: #FFFFFF;
            }

        .header .menu li div dl dd {
            height: 0px;
            width: 109px;
        }

        .header .menu li:hover div dl dd {
            height: 36px;
            text-align: center;
            line-height: 36px;
            font-size: 14px;
        }


        .header .menu li div dl {
            margin-top: 30px;
            border-top: 2px solid #668BCB;
            display: block;
            background-color: white;
            -webkit-transition: height 200ms ease-in;
            -moz-transition: height 200ms ease-in;
            -o-transition: height 200ms ease-in;
            transition: height 200ms ease-in;
        }

        /**************************************下拉导航栏*****************************************/



        .header .menu li:hover a {
            color: #1F55B1;
        }

        .header .menu li a {
            color: #000;
        }
